#include<iostream>
using namespace std;
int letra();
int main ()
{
    letra();
}
int letra()
{
    int n1;
    char n2;
    cin>>n1;
    cin>>n2;

    if (n2=='+')
    {
        n1=n1+1;
        cout<<n1;
    }
    if (n2=='-')
    {
        n1=n1-1;
        cout<<n1;
    }
    else
    {
    }

    return n1;

}
